import request from "@/utils/request";

export function list(id) {
  return request({
    url: '/base-sixreal/plot/findByPlotId/'+id,
    method: 'get'
  })
}

export function findByPlotId(id) {
  return request({
    url: '/base-sixreal/population/findByPlotIdList?id='+id,
    method: 'get'
  })
}

export function findTeneByPlotIdList(id) {
  return request({
    url: '/base-sixreal/tenement/findByPlotIdList?id='+id,
    method: 'get'
  })
}


export function findVehicleTeneByPlotIdList(data) {
  return request({
    url: '/base-sixreal/vehicle/findByPlotId',
    method: 'post',
    data
  })
}

export function findVehicleEquipmentByPlotIdList(data) {
  return request({
    url: '/base-sixreal/equipment/list',
    method: 'post',
    data
  })
}
